<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/WEB-INF/tld/orderStatus.tld" prefix="os" %>
<%@ taglib uri="/WEB-INF/tld/core.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt" %>
<html>
<%@ include file="/common.jsp"%>
<script type="text/javascript" src="<%=basePath%>js/datePicker/WdatePicker.js" defer="defer"></script>
<script type="text/javascript" src="js/artDialog/artDialog.js?skin=idialog"></script>
<script type="text/javascript" src="js/artDialog/plugins/iframeTools.js"></script>
<script type="text/javascript" src="js/page.js"></script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}
-->
</style>
<body>
<form action="pay_request_list.shtml" method="post">
	<table width="100%" border="0" cellpadding="0" cellspacing="0" id="myTable">
		<tr>
			<td width="17" valign="top" background="images/mail_leftbg.gif"><img
				src="images/left-top-right.gif" width="17" height="29" /></td>
			<td valign="top" background="images/content-bg.gif">
			<div class="titlebt">支付日志</div>
			</td>
			<td width="16" valign="top" background="images/mail_rightbg.gif"><img
				src="images/nav-right-bg.gif" width="16" height="29" /></td>
		</tr>
		<tr>
			<td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
			<td valign="top" bgcolor="#F7F8F9">
			<br/>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" class="mytable">
        		<tr><th class="left" width="15%">选择日期</th><td class="border-top"><input type="text" class="Wdate" value="${payReq.startTime}" onclick="WdatePicker({maxDate:'%y-%M-%d'});" readonly="readonly" name="payReq.startTime" id="startTime" align="middle" /> ~
					<input type="text" class="Wdate"  value="${payReq.endTime}" onclick="WdatePicker({minDate:'#F{$dp.$D(\'startTime\')}',maxDate:'%y-%M-%d'});" readonly="readonly" name="payReq.endTime" align="middle" /></td></tr>
        		<tr>
        			<td style="text-align: center;" class="left" colspan="3"><button id="btn_search" type="submit" class="Submit">立即查询</button>&nbsp;&nbsp;<button id="btn_clear" type="button" onclick="clearAll(this.form)" class="Submit">清 空</button></td>
        		</tr>
        		</table>
        	
			</td>
			<td background="images/mail_rightbg.gif">&nbsp;</td>
		</tr>
		<tr>
			<td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
			<td valign="top" bgcolor="#F7F8F9">
				<TABLE height="auto" border=0 class="mytable" cellPadding=0 cellSpacing=0>
		<TBODY>
			<TR>
				<TD height="5" colspan="16"></TD>
			</TR>
			<TR>
				<TH class="left">&nbsp;</TH>
				<TH>流水号</TH>
				<TH>命令</TH>
				<TH>订单编号</TH>
				<TH>卖家ID</TH>
				<TH>会员编号</TH>
				<TH>交易金额</TH>
				<TH>发起时间</TH>
				<TH>回执通知</TH>
				<TH>操作信息</TH>
				<!-- <TH>标识信息</TH> -->
			</TR>
			<s:iterator value="#request.requestList" var="pay" status="status">
				<TR>
				<TD class="left">${((pageBean.page-1)*pageBean.pageSize+status.index+1)}</TD>
				<TD>${pay.reqTransSeq}</TD>
				<TD>${pay.serviceId}</TD>
				<TD>${pay.orderId}</TD>
				<TD>${pay.sellerId}</TD>
				<TD>${pay.buyerId }</TD>
				<TD><fmt:formatNumber value="${totTransAmt/100}" pattern="￥0.00" /></TD>
				<TD><fmt:formatDate value="${pay.sendTime }" pattern="yyyy年MM月dd日 HH:mm:ss"/></TD>
				<TD>
					<s:if test="backFlag!=null">
						<a href="javascript:void(0);" title="查看回执信息" onclick="getDetail('${pay.reqTransSeq}',1);return false;">查看回执结果</a>
					</s:if>
					<s:else>--</s:else>
				</TD>
				<TD>
					<a href="javascript:void(0);" onclick="getDetail('${pay.reqTransSeq}',0);return false;">操作信息</a>
				</TD>
				<!-- <TH>标识信息</TH> -->
			</TR>
			</s:iterator>
			<tr>
				<td colspan="10"
					style="background: url('images/news-title-bg.gif'); background-repeat: repeat-x; background-position: 0px -25px 2px 27px"
					height="2"></td>
			</tr>
			<tr>
				<td class="left" colspan="10" align="right"
					style="background: #FAFBFC repeat-x; height: 28">
					${pageBean.pageToolsMenu}</td>
			</tr>
			<TR>
				<TD height="5" colspan="16"></TD>
			</TR>
		</TBODY>
	</TABLE>
			</td>
			<td background="images/mail_rightbg.gif">&nbsp;</td>
		</tr>
		
		<tr>
			<td valign="bottom" background="images/mail_leftbg.gif"><img
				src="images/buttom_left2.gif" width="17" height="17" /></td>
			<td background="images/buttom_bgs.gif"><img
				src="images/buttom_bgs.gif" width="17" height="17"></td>
			<td valign="bottom" background="images/mail_rightbg.gif"><img
				src="images/buttom_right2.gif" width="16" height="17" /></td>
		</tr>
	</table>
	</form>
	<script type="text/javascript">
	getDetail=function(seq,type){
		if(type==1){
			art.dialog.load('./pay_response_getObject.shtml?seq='+seq, true);
		}else{
			art.dialog.load('./pay_request_getObject.shtml?seq='+seq, true);
		}
	}
	</script>
</body>
</html>